
#include "rtthread.h"
#include "rtdevice.h"

#include "bsp.h"
#include "phy_trans.h"
#include "net_trans.h"

static void led_loop_start(void)
{
	int interval = 1000;

	while(1)
	{
		LED_NET_ON();
		rt_thread_mdelay(interval);
		LED_NET_OFF();
		rt_thread_mdelay(interval);
	}
}

int main(void)
{
	bsp_init();

	phy_trans_start();
	net_trans_start();
	led_loop_start();

	return 0;
}

